import request from "@/utils/request"
// 首页
export const homeBrand = (submitData) => {
  return request({
    url: '/home/brand',
    method: 'get',
    submitData
  })
}

// 轮播图
export const homeBanner = (submitData) => {
  return request({
    url: '/home/banner',
    method: 'get',
    submitData
  })
}
// 新鲜好物
export const findNew = (submitData) => {
  return request({
    url: '/home/new',
    method: 'get',
    submitData
  })
}
// 人气推荐
export const findHot = () => {
  return request({
    url: '/home/hot',
    method: 'get'
  })
}
// 热门品牌
export const findBrand = (submitData) => {
  return request({
    url: '/home/brand',
    method: 'get',
    submitData
  })
}
// 产品区块
export const findGoods = () => {
  return request({
    url: '/home/goods',
    method: 'get'
  })
}
// 最新专题
export const findSpecial = () => {
  return request({
    url: '/home/special',
    method: 'get'
  })
}